import java.util.*;
public class Supplier {
	private String name, path, bPath;
	private int id;
	private ArrayList<Customer> customers;
	
	public Supplier(String name, String path, String bPath, int id, ArrayList<Customer> customers) {
		this.name = name;
		this.path = path;
		this.bPath = bPath;
		this.id = id;
		this.customers = customers;
	}
	
	// Set
	public void setName(String name) {
		this.name = name;
	}
	
	public void setPath(String path) {
		this.path = path;
	}
	
	public void setBackupPath(String bPath) {
		this.bPath = bPath;
	}
	
	public void setID(int id) {
		this.id = id;
	}
	
	public void setCustomers(ArrayList<Customer> customers) {
		this.customers = customers;
	}
	
	// Get
	public String getName() { 
		return name;
	}
	
	public String getPath() {
		return path;
	}
	
	public String getBackupPath() {
		return bPath;
	}
	
	public int getID() {
		return id;
	}
	
	public ArrayList<Customer> getCustomers() {
		return customers;
	}
	
	// toString	
	public String toString() {
		return name + " " + path + " " + Integer.toString(id) + " " + customers.size(); 
	}
	
}
